<?php

namespace pmvc;

class ModelAndView {
    
    var $viewName;
    var $model;
    
    public function ModelAndView($viewName, $model=Array()) {
        $this->viewName = $viewName;
        $this->model = $model;
    }
    
    public function getViewName() {
        return $this->viewName;
    }
    
    function getModel() {
        return $this->model;
    }
    
    public function setModel($model) {
    	$this->model = $model;
    }
}


?>
